package com.enjoyor.soa.traffic.core.tpcms.mapper;

import java.util.List;
import java.util.Map;

import com.enjoyor.soa.traffic.api.dto.tpcms.PassCardDto;
import com.enjoyor.soa.traffic.core.tpcms.domain.PassCard;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.IBaseMapper;

public interface IPassCardMapper extends IBaseMapper<PassCard> {

    public List<PassCard> getPassCardList(Map<String, Object> map);

    public List<PassCardDto> getPassCardDetailList(Map<String, Object> map);

    public List<PassCard> getAllPassTrucks();

    public List<PassCard> getAllTrucksByRoadId(String stopRoadId);

    public PassCard getMaxPassCardId();
}
